package com.imooc.repository;

import com.imooc.dataobject.ProductCategory;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface ProductCategoryRepository extends JpaRepository<ProductCategory,Integer> {
    //希望一次性查到，结果是list.  ====标准命名
    List<ProductCategory> findByCategoryTypeIn(List<Integer>categoryTypeList);
}

